package def

const MaxEnumCases = ShortIndexMax
const MaxTupleElements = ShortIndexMax
const MaxInterfaceMethods = ShortIndexMax
const MaxArguments = 5
const MaxSelectOperands = BranchKeyItemsMax

// Following limits are unlikely to be exceeded, thus not explicitly checked.
// (enforced by MustBeLocalAddr and RequireExternalCodeEntityIndex)
const MaxStaticValues = LocalAddrMax
const MaxClosures = LocalAddrMax
const MaxClosureContexts = LocalAddrMax
const MaxInstTreeLength = LocalAddrMax
const MaxBranchExpressions = ExternalCodeEntityIndexMax
const MaxTupleUpdateIndexVectors = ExternalCodeEntityIndexMax


